import axios from 'axios';

const config = {
  baseURL: "http://localhost:8080", // 确保这里是指向后端服务器的地址
  timeout: 30000,
  headers:{
    'Content-Type':'application/json'
  }
};

const service = axios.create(config);

export default service;